package com.example.spring.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("user_menu")
public class UserMenu {//用户菜单表
    @TableId(type = IdType.AUTO)
    private Long userMenuId;
    private Long userId;    //用户id
    private Long menuId;  // 菜单id
}
